Zadig 文档
Zadig
教程
博客
论坛
关于
中文英文
Zadig
教程
博客
论坛
关于
Zadig v4.2
Loading...
     编辑文档
     反馈问题
     社区讨论

    本页导航

    Dockerfile Template

    Background

    Dockerfile template capability, which allows users to wrap common image construction steps into templates, minimizing repetitive build configuration work.

    # New Template

    Tips

    Dockerfile templates are valid throughout the system and can be applied to different projects.

    Visit Assets → Templates → Dockerfile in turn to enter the Dockerfile template management page. After clicking the + button, enter the Dockerfile template name and fill in the template content on the right. After the template content is saved successfully, the system will automatically parse the variables defined by the command and the value of the variables used in the template ARG.

    Add Dockerfile template

    # Using Templates

    When configuring the build, select the image build in Add Steps, and choose the template library for Dockerfile Source. Select the desired Dockerfile template as needed.

    For Add Steps instructions, refer to the image build.

    1. After selecting the Dockerfile template, the system will automatically display the variable information in the template. You can also click Preview on the right to view the complete content of the template
    2. Based on the actual situation of the build service, fill in the build parameters as needed and assign values to the template using --build-arg variable1=variable1_value --build-arg variable2=variable2_value

    Using Dockerfile templates

    # View the Citation List

    Click Reference List on the right side of the Dockerfile template to view the list of projects and builds that reference the template for building the image.

    View Dockerfile template reference list

    ← Helm Chart TemplateBuild Templates→

    资源
    教程
    论坛
    博客
    公司
    关于
    客户故事
    加入我们
    联系我们
    微信扫一扫
    hello@koderover.com

    © 2026 筑栈(上海)信息技术有限公司 沪 ICP 备 19000177 号 - 1

    •  跟随系统
    •  浅色模式
    •  深色模式
    •  阅读模式